package com.ruoyi.teaching.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.teaching.domain.PlatformCCourseOutline;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface PlatformCCourseOutlineMapper extends BaseMapper<PlatformCCourseOutline> {
    @Select("select * from platform_c_course_outline where course_id = #{id}")
    List<PlatformCCourseOutline> selectListByCourseId(Integer id);

    void insertPlatformCCourseOutline(PlatformCCourseOutline platformCCourseOutline);

    void deleteByCourseId(Integer id);
}
